//
//  HLMineCellModel.h
//  YueYue
//
//  Created by hulu001 on 2023/5/19.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN


// 跳转到相应页面
typedef enum : NSUInteger {
    HLMineCellSpotNon, // 无需跳转
    HLMineCellSpotInvitation, // 跳转到我的邀请
    HLMineCellSpotCert, // 跳转到聊主认证
    HLMineCellSpotPrice, // 跳转到价格设置
    HLMineCellSpotMissionCenter, // 跳转到任务中心
    HLMineCellSpotCustomer, // 跳转到联系客服
    HLMineCellSpotCustom, // 跳转到自定义标签设置
    HLMineCellSpotSetting, // 跳转到设置
    HLMineCellSpotVideo, // 跳转到发布视频
    HLMineCellSpotDynamic, // 跳转到我的动态
    HLMineCellSpotGuardian, // 跳转到我的守护
    HLMineCellSpotGreet, // 跳转到招呼设置
    HLMineCellSpotLevel, // 跳转到我的等级
    HLMineCellSpotVip, // 跳转到我的VIP
    HLMineCellSpotCoupon, // 跳转到我的卡卷
    HLMineCellSpotBind, // 跳转到邀请绑定
    HLMineCellSpotSettingAccount, // 跳转设置账号安全
    HLMineCellSpotSettingInvitation, // 跳转设置我的邀请人
    HLMineCellSpotSettingPrivacy, // 跳转设置隐私
    HLMineCellSpotSettingPrivacyBlack, //跳转到黑名单
    HLMineCellSpotSettingPrivacyPhoto, //跳转到相册
    HLMineCellSpotSettingPrivacyCamera, //跳转到相机
    HLMineCellSpotSettingPrivacyMicrophone, //跳转到麦克风
    HLMineCellSpotSettingPrivacyLocation, //跳转到位置
    HLMineCellSpotSettingFeedback, // 跳转设置意见与反馈
    HLMineCellSpotSettingAbout, // 跳转设置关于我们
    HLMineCellSpotSettingUpdate, // 跳转设置检查更新
    HLMineCellSpotSettingCustomer, // 跳转到设置联系客服
    HLMineCellSpotSettingAboutService, // 跳转设置关于我们用户协议
    HLMineCellSpotSettingAboutPrivacy, // 跳转设置关于我们隐私协议
    HLMineCellSpotSettingLogout, // 跳转设置退出登录
    HLMineCellSpotSettingAccountID,  // 跳转设置账号ID
    HLMineCellSpotSettingAccountWechat,  // 跳转设置账号Wechat
    HLMineCellSpotSettingAccountPassword,  // 跳转设置账号密码
    HLMineCellSpotSettingAccountLogout,  // 跳转设置账号Logout
    HLMineCellSpotEditAvatar,  // 跳转编辑头像
    HLMineCellSpotEditCoverImage,  // 跳转编辑封面图片
    HLMineCellSpotEditPhotoWall,  // 跳转编辑照片墙
    HLMineCellSpotEditNickname,  // 跳转编辑用户昵称
    HLMineCellSpotEditSex,        // 跳转编辑用户性别
    HLMineCellSpotEditBirthday,  // 跳转编辑用户生日
    HLMineCellSpotEditConstellation,  // 跳转编辑星座
    HLMineCellSpotEditHeight,  // 跳转编辑身高
    HLMineCellSpotEditWeight,  // 跳转编辑体重
    HLMineCellSpotEditOccupation,  // 跳转编辑职业
    HLMineCellSpotEditSchool,  // 跳转编辑学校
    HLMineCellSpotEditSignature,  // 跳转编辑签名
    HLMineCellSpotCustomerMessage, // 跳转到聊主设置消息价格
    HLMineCellSpotCustomerVoice, // 跳转到聊主设置语音价格
    HLMineCellSpotCustomerVideo, // 跳转到聊主设置视频价格
    HLMineCellSpotCustomerMakeup, // 跳转到聊主设置化妆镜
    HLMineCellSpotSessionInfo, // 跳转到好友设置的用户信息
    HLMineCellSpotSessionTop, // 跳转到好友设置的置顶聊天
    HLMineCellSpotSessionDelete, // 跳转到好友设置删除聊天记录
    HLMineCellSpotSessionBlack, // 跳转到好友设置拉黑取消拉黑
    HLMineCellSpotSessionReport, // 跳转到好友设置举报
    HLMineCellSpotSessionFollow, // 跳转到好友设置关注TA
} HLMineCellSpot;

// 聊主 cell 显示的类别
typedef enum : NSUInteger {
    HLMineCellCustomerNon, // 聊主初始的Cell
    HLMineCellCustomerCert, // 聊主头像认证后的Cell
    HLMineCellCustomerIncome, // 聊主认证后的Cell
    HLMineCellCustomerUnion, //聊主是否是公会
} HLMineCellCustomer;



@interface HLMineCellModel : NSObject

@property (nonatomic, copy) NSString *icon;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *detail;
@property (nonatomic, assign) BOOL hasDetail;
@property (nonatomic, assign) BOOL hasSwitch;
@property (nonatomic, assign) HLMineCellSpot cellSpot;

- (instancetype)initWithTitle:(NSString *)title icon:(NSString *)icon spot:(HLMineCellSpot)spot;

+ (NSArray<HLMineCellModel*> *)cellWithMine;

+ (NSArray<NSArray<HLMineCellModel*> *> *)cellWithSettings;

+ (NSArray<NSArray<HLMineCellModel*> *> *)cellWithSettingAccount;

+ (NSArray<NSArray<HLMineCellModel*> *> *)cellWithSessionSettingWithUser:(HLUserInfoModel *)user session:(NIMSession *)session;

+ (NSArray<NSArray<HLMineCellModel*> *> *)cellWithEditInfoWithModel:(HLUserInfoModel *)user;

+ (NSArray<HLMineCellModel *> *)cellWithCustomer;

+ (NSArray<HLMineCellModel*> *)cellWithAbout;

+ (NSArray<NSArray<HLMineCellModel*> *> *)cellWithSettingPrivacy;

@end

NS_ASSUME_NONNULL_END
